package com.gitee.helioz.openai.api.dto.models;

import com.google.gson.annotations.SerializedName;
import lombok.Data;

import java.io.Serializable;

/**
 * 〈权限对象〉
 *
 * @author <a href="https://gitee.com/helioz">Morning Starr</a>
 */
@Data
public class PermissionDTO implements Serializable {

    private String id;
    private String object;
    private Long created;
    @SerializedName("allow_create_engine")
    private Boolean allowCreateEngine;
    @SerializedName("allow_sampling")
    private Boolean allowSampling;
    @SerializedName("allow_logprobs")
    private Boolean allowLogprobs;
    @SerializedName("allow_search_indices")
    private Boolean allowSearchIndices;
    @SerializedName("allow_view")
    private Boolean allowView;
    @SerializedName("allow_fine_tuning")
    private Boolean allowFineTuning;
    private String organization;
    private Object group;
    @SerializedName("is_blocking")
    private Boolean blocking;
}
